package com.fingersoft.dexload;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * @author：Jooper Email：jooperge@163.com
 * 描述：
 * 修改历史:
 * <p>
 * 创建于： 2019-07-27
 */
public class PreLoadDexReceiver extends BroadcastReceiver {

    public static final String ACTION_DEX_PRELOAD = "action_dex_preload";

    @Override
    public void onReceive(Context context, Intent intent) {
        if (ACTION_DEX_PRELOAD.equals(intent.getAction())) {
            DexLoadUtil.getInstance().finishDexActivity(context);
        }
    }
}
